package com.spring.bean.customtag.use;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @ClassName: Main
 * @Author: suncx
 * @CreateDate: 2020-03-26 14:00
 * @Description:
 */
public class Main {
    public static void main(String[] args) {
        ApplicationContext bf = new ClassPathXmlApplicationContext("/bean/customtag/BeanCustomTagTest.xml");
        User test = (User)bf.getBean("testbean");
        System.out.println(test);
    }
}
